/**
 * 
 */
package vue.session;

/**
 * Interface for object that are listening to {@link IGBlock} modification.
 * 
 * @author GRONOWSKI Stephane svan001@aol.com
 * 
 *         igsat 2010
 * 
 */
public interface IIGModificationListener {

	/**
	 * Call to notify that the block has been selected.
	 * 
	 * @param block
	 *            the selected block.
	 */
	public void hasBeenSelected(IGBlock block);


	/**
	 * Call to notify that the block has been removed from the session.
	 * 
	 * @param block
	 *            the block.
	 */
	public void hasBeenRemoved(IGBlock block);

	/**
	 * Call to notify that the block has been modified/updated from the session.
	 * 
	 * @param block
	 *            the block.
	 */
	public void hasBeenModified(IGBlock block);


}
